/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lottows_remote_client_application;

import java.util.ArrayList;

/**
 *
 * @author theInterloper
 */
public class LottoWS_Remote_Client_Application {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        ArrayList numbers = new ArrayList();

        numbers.addAll(generate());
        
        System.out.println("This weeks lotto numbers are:");
        for(int i=0; i< numbers.size(); i++){
            System.out.println("number " + (1+i) + ": "+ numbers.get(i));
        }
    }

    private static java.util.List<java.lang.Object> generate() {
        lottows_remote_client_application.LottoWS_Service service = new lottows_remote_client_application.LottoWS_Service();
        lottows_remote_client_application.LottoWS port = service.getLottoWSPort();
        return port.generate();
    }
    
    
}
